package com.igeek.ch03summary;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * TODO
 *
 * @author xuxin
 * @since 2024/5/22
 */

public class MainTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(MyConfig.class);

        People people = ac.getBean("people", People.class);
        System.out.println(people);

        ac.close();
    }
}
